package com.admin.education.dataTransferObject.templates.Request;


import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
public class UpdateTemplateRequest {
    @Length(max=1024)
    @NotBlank
    private String name;
    @DecimalMin("0")
    private BigDecimal templateMark;
    @NotNull
    private   List<Long> questions;
    private boolean allowMultipleAnswer;
    @NotNull
    private List<Long> applyCrowds;
    @NotNull
    private List<Long> categorys;
}
